﻿using FreeSql.DataAnnotations;
using System;

namespace Enter.Dashboard.Api.Entities
{
    public class Archive
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Column(IsIdentity = true)]
        public long Id { get; set; }
        /// <summary>
        /// 笔数
        /// </summary>
        public int No { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 批次序号
        /// </summary>
        public string BatchNo { get; set; }
        /// <summary>
        /// 借据编号
        /// </summary>
        public string BusinessNo { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractNo { get; set; }
        /// <summary>
        /// 合同类别(新合同/旧合同)
        /// </summary>
        public int ContractType { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string CustomerPhone { get; set; }
        /// <summary>
        /// 性别(男/女/未知)
        /// </summary>
        public int CustomerSexy { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string CustomerEthnic { get; set; }
        /// <summary>
        /// 出生年月日
        /// </summary>
        public DateTime CustomerBirthday { get; set; }
        /// <summary>
        /// 身份证号码
        /// </summary>
        public string CustomerID { get; set; }
        /// <summary>
        /// 身份证地址
        /// </summary>
        public string CustomerIDAddress { get; set; }
        /// <summary>
        /// 合同地址
        /// </summary>
        public string ContractAddress { get; set; }
        /// <summary>
        /// 有效送达地址
        /// </summary>
        public string CustomerValidAddress { get; set; }
        /// <summary>
        /// 房产信息
        /// </summary>
        public string Building { get; set; }
        /// <summary>
        /// 车辆信息
        /// </summary>
        public string Caring { get; set; }
        /// <summary>
        /// 其他财产信息
        /// </summary>
        public string Othering { get; set; }
        /// <summary>
        /// 业务名称
        /// </summary>
        public string Business { get; set; }
        /// <summary>
        /// 入账机构
        /// </summary>
        public string BusinessBank { get; set; }
        /// <summary>
        /// 合同签订时间
        /// </summary>
        public DateTime ContractTime { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        public decimal ContractAmount { get; set; }
        /// <summary>
        /// 受限额度
        /// </summary>
        public decimal LimitAmount { get; set; }
        /// <summary>
        /// 发放日期(放款日)
        /// </summary>
        public DateTime BusinessLoanTime { get; set; }
        /// <summary>
        /// 到期日
        /// </summary>
        public DateTime BusinessExpireTime { get; set; }
        /// <summary>
        /// 借款本金
        /// </summary>
        public decimal PrincipalAmount { get; set; }
        /// <summary>
        /// 年利率(%)
        /// </summary>
        public decimal YearOfRate { get; set; }
        /// <summary>
        /// 月利率(%)
        /// </summary>
        public decimal MonthOfRate { get; set; }
        /// <summary>
        /// 贷款期数
        /// </summary>
        public int LoanMonthly { get; set; }
        /// <summary>
        /// 已还期数
        /// </summary>
        public int AlreadyMonthly { get; set; }
        /// <summary>
        /// 未还期数
        /// </summary>
        public int UnAlreadyMonthly { get; set; }
        /// <summary>
        /// 拖欠期数
        /// </summary>
        public int ArrearMonthly { get; set; }
        /// <summary>
        /// 还款中断日
        /// </summary>
        public DateTime BreakTime { get; set; }
        /// <summary>
        /// 拖欠本金
        /// </summary>
        public decimal ArrearAmount { get; set; }
        /// <summary>
        /// 剩余本金
        /// </summary>
        public decimal SurplusAmount { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal BalanceAmount { get; set; }
        /// <summary>
        /// 拖欠正常本金利息
        /// </summary>
        public decimal ArrearInterest1 { get; set; }
        /// <summary>
        /// 拖欠逾期本金罚息
        /// </summary>
        public decimal ArrearInterest2 { get; set; }
        /// <summary>
        /// 拖欠复利
        /// </summary>
        public decimal ArrearInterest3 { get; set; }
        /// <summary>
        /// 总本金(拖欠本金+剩余本金)
        /// </summary>
        public decimal TotalAmount { get; set; }
        /// <summary>
        /// 合计(总本金+拖欠正常本金利息+拖欠逾期本金罚息+拖欠复利)
        /// </summary>
        public decimal TotalAll { get; set; }
        /// <summary>
        /// 清单生成日
        /// </summary>
        public DateTime ListTime { get; set; }
        /// <summary>
        /// 支付方式(自主支付/受托支付)
        /// </summary>
        public int PayType { get; set; }
        /// <summary>
        /// 本人有无付款授权书(有/无)
        /// </summary>
        public int IsPayAuthed { get; set; }
        /// <summary>
        /// 本人无有特种转账借方传票(有/无)
        /// </summary>
        public int IsSpecialSummons { get; set; }
        /// <summary>
        /// 合同里的收款账户是(受托人/本人)
        /// </summary>
        public int IsSelfPayee { get; set; }
        /// <summary>
        /// 传票收款账户是否为是(受托人/本人)
        /// </summary>
        public int IsSelfSpecialSummons { get; set; }
        /// <summary>
        /// 委托律所
        /// </summary>
        public string TrustLawfirm { get; set; }
        /// <summary>
        /// 委托律师
        /// </summary>
        public string TrustLawyer { get; set; }
        /// <summary>
        /// 委托状态
        /// </summary>
        public int TrustState { get; set; }
        /// <summary>
        /// 接收日
        /// </summary>
        public DateTime TrustTime { get; set; }
        /// <summary>
        /// 委托到期日/续聘到期日
        /// </summary>
        public DateTime RenewalTime { get; set; }
        /// <summary>
        /// 委托天数
        /// </summary>
        public int TrustDays { get; set; }
        /// <summary>
        /// 1月案件进展
        /// </summary>
        public int NaturalJan1 { get; set; }
        /// <summary>
        /// 2月案件进展
        /// </summary>
        public int NaturalFeb1 { get; set; }
        /// <summary>
        /// 3月案件进展
        /// </summary>
        public int NaturalMar1 { get; set; }
        /// <summary>
        /// 4月案件进展
        /// </summary>
        public int NaturalApr1 { get; set; }
        /// <summary>
        /// 5月案件进展
        /// </summary>
        public int NaturalMay1 { get; set; }
        /// <summary>
        /// 6月案件进展
        /// </summary>
        public int NaturalJun1 { get; set; }
        /// <summary>
        /// 7月案件进展
        /// </summary>
        public int NaturalJul1 { get; set; }
        /// <summary>
        /// 8月案件进展
        /// </summary>
        public int NaturalAug1 { get; set; }
        /// <summary>
        /// 9月案件进展
        /// </summary>
        public int NaturalSep1 { get; set; }
        /// <summary>
        /// 10月案件进展
        /// </summary>
        public int NaturalOct1 { get; set; }
        /// <summary>
        /// 11月案件进展
        /// </summary>
        public int NaturalNov1 { get; set; }
        /// <summary>
        /// 12月案件进展
        /// </summary>
        public int NaturalDec1 { get; set; }
        /// <summary>
        /// 1月案件记载
        /// </summary>
        public string NaturalJan2 { get; set; }
        /// <summary>
        /// 2月案件记载
        /// </summary>
        public string NaturalFeb2 { get; set; }
        /// <summary>
        /// 3月案件记载
        /// </summary>
        public string NaturalMar2 { get; set; }
        /// <summary>
        /// 4月案件记载
        /// </summary>
        public string NaturalApr2 { get; set; }
        /// <summary>
        /// 5月案件记载
        /// </summary>
        public string NaturalMay2 { get; set; }
        /// <summary>
        /// 6月案件记载
        /// </summary>
        public string NaturalJun2 { get; set; }
        /// <summary>
        /// 7月案件记载
        /// </summary>
        public string NaturalJul2 { get; set; }
        /// <summary>
        /// 8月案件记载
        /// </summary>
        public string NaturalAug2 { get; set; }
        /// <summary>
        /// 9月案件记载
        /// </summary>
        public string NaturalSep2 { get; set; }
        /// <summary>
        /// 10月案件记载
        /// </summary>
        public string NaturalOct2 { get; set; }
        /// <summary>
        /// 11月案件记载
        /// </summary>
        public string NaturalNov2 { get; set; }
        /// <summary>
        /// 12月案件记载
        /// </summary>
        public string NaturalDec2 { get; set; }
        /// <summary>
        /// 案件情况说明
        /// </summary>
        public string CaseInfo { get; set; }
        /// <summary>
        /// 需撤诉案件撤诉手续是否已办理
        /// </summary>
        public int IsDropCase { get; set; }
        /// <summary>
        /// 已结案的案件手续是否已办理
        /// </summary>
        public int IsFinishCase { get; set; }
        /// <summary>
        /// 是否退案（如是，请填已退案或已退案-移交特管）
        /// </summary>
        public int IsOutCase { get; set; }
        /// <summary>
        /// 退案具体日期
        /// </summary>
        public DateTime OutCaseTime { get; set; }
        /// <summary>
        /// 实际委托催收开始时间
        /// </summary>
        public DateTime WantStartTime { get; set; }
        /// <summary>
        /// 立案联调日
        /// </summary>
        public DateTime JointTime { get; set; }
        /// <summary>
        /// 立案联调案号
        /// </summary>
        public string JointNo { get; set; }
        /// <summary>
        /// 一审法院
        /// </summary>
        public string CourtOfFirst { get; set; }
        /// <summary>
        /// 起诉立案日
        /// </summary>
        public DateTime FilingTime { get; set; }
        /// <summary>
        /// 审判案号
        /// </summary>
        public string TrialNo { get; set; }
        /// <summary>
        /// 案件受理费
        /// </summary>
        public decimal CaseFee { get; set; }
        /// <summary>
        /// 保全案号
        /// </summary>
        public string PreserveNo { get; set; }
        /// <summary>
        /// 保全费
        /// </summary>
        public decimal PreserveFee { get; set; }
        /// <summary>
        /// 案件受理退费情况(有无退费)
        /// </summary>
        public int CaseRefunded { get; set; }
        /// <summary>
        /// 案件受理退费情况(金额)
        /// </summary>
        public decimal CaseRefundFee { get; set; }
        /// <summary>
        /// 案件受理退费情况(是否办结)
        /// </summary>
        public int CaseRefundFinshed { get; set; }
        /// <summary>
        /// 案件受理退费情况(申请退费日期)
        /// </summary>
        public DateTime CaseRefundTime { get; set; }
        /// <summary>
        /// 保全财产明细
        /// </summary>
        public string PreserveDetail { get; set; }
        /// <summary>
        /// 保全备注：（房产、车辆、股权、其他）
        /// </summary>
        public string PreserveNote { get; set; }
        /// <summary>
        /// 保全信息（房产信息）
        /// </summary>
        public string PreserveBuiding { get; set; }
        /// <summary>
        /// 保全信息（车辆信息）
        /// </summary>
        public string PreserveCaring { get; set; }
        /// <summary>
        /// 保全信息（股权信息）
        /// </summary>
        public string PreserveStock { get; set; }
        /// <summary>
        /// 保全进度：待保全/已保全未出查冻扣通知书/已保全已查封
        /// </summary>
        public int PreserveProgress { get; set; }
        /// <summary>
        /// 保全到期日/查封、冻结到期日
        /// </summary>
        public DateTime SealOutTime { get; set; }
        /// <summary>
        /// 主审法官
        /// </summary>
        public string JudgeMaster { get; set; }
        /// <summary>
        /// 开庭日
        /// </summary>
        public DateTime CourtTime { get; set; }
        /// <summary>
        /// 被告情况(到庭情况,枚举)
        /// </summary>
        public int DefendantComeState { get; set; }
        /// <summary>
        /// 被告情况(联系方式)
        /// </summary>
        public string DefendantPhone { get; set; }
        /// <summary>
        /// 被告情况(还款意愿,枚举)
        /// </summary>
        public int DefendantRepay { get; set; }
        /// <summary>
        /// 被告情况(处理方式)
        /// </summary>
        public string DefendantHandle { get; set; }
        /// <summary>
        /// 判决结果（胜诉/败诉/部分败诉）
        /// </summary>
        public int VerdictResult { get; set; }
        /// <summary>
        /// 判决日
        /// </summary>
        public DateTime VerdictTime { get; set; }
        /// <summary>
        /// 判决公告日
        /// </summary>
        public DateTime VerdictPublicTime { get; set; }
        /// <summary>
        /// 判决生效日
        /// </summary>
        public DateTime VerdictValidTime { get; set; }
        /// <summary>
        /// 立案公告媒体名称
        /// </summary>
        public string RecordPublicMedia { get; set; }
        /// <summary>
        /// 立案公告发布时间
        /// </summary>
        public DateTime RecordPublicTime { get; set; }
        /// <summary>
        /// 判决公告媒体名称
        /// </summary>
        public string SentencePublicMedia { get; set; }
        /// <summary>
        /// 判决公告发布时间
        /// </summary>
        public DateTime SentencePublicTime { get; set; }
        /// <summary>
        /// 申请执行日
        /// </summary>
        public DateTime ApplyExecutionTime { get; set; }
        /// <summary>
        /// 执行案号
        /// </summary>
        public string ExecutionNo { get; set; }
        /// <summary>
        /// 执行法官
        /// </summary>
        public string ExecutionJudge { get; set; }
        /// <summary>
        /// 是否申请纳入失信被执行人名单
        /// </summary>
        public int IsBlacklist { get; set; }
        /// <summary>
        /// 申请纳入失信被执行人名单时间
        /// </summary>
        public DateTime BlackInTime { get; set; }
        /// <summary>
        /// 失信名单有效期至
        /// </summary>
        public DateTime BlackOutTime { get; set; }
        /// <summary>
        /// 执行中查封、冻结财产明细(房产)
        /// </summary>
        public string ExecutingBuilding { get; set; }
        /// <summary>
        /// 执行中查封、冻结财产明细(车辆)
        /// </summary>
        public string ExecutingCaring { get; set; }
        /// <summary>
        /// 执行中查封、冻结财产明细(股权)
        /// </summary>
        public string ExecutingStock { get; set; }
        /// <summary>
        /// 执行中查封、冻结财产明细(其他)
        /// </summary>
        public string ExecutingOther { get; set; }
        /// <summary>
        /// 执行查封、冻结财产到期日
        /// </summary>
        public DateTime ExecutionOutTime { get; set; }
        /// <summary>
        /// 执行回款金额
        /// </summary>
        public decimal ExecutionBackPrice { get; set; }
        /// <summary>
        /// 申请扣划执行款时间
        /// </summary>
        public DateTime ExecutionBackTime { get; set; }
        /// <summary>
        /// 备注（执行查封财产情况：房产/车辆/股权/其他）
        /// </summary>
        public string ExecutionNote { get; set; }
        /// <summary>
        /// 结案情况
        /// </summary>
        public string ClosingNote { get; set; }
        /// <summary>
        /// 终本时间
        /// </summary>
        public DateTime ClosingTime { get; set; }
        /// <summary>
        /// 是否限制高消费
        /// </summary>
        public int IsLimitHight { get; set; }
        /// <summary>
        /// 是否有干净终本
        /// </summary>
        public int HasClosing { get; set; }
        /// <summary>
        /// 干净终本取得时间
        /// </summary>
        public DateTime HasClosingTime { get; set; }
        /// <summary>
        /// 终本类型（正常终结/非正常终结）
        /// </summary>
        public int ClosingType { get; set; }
        /// <summary>
        /// 终本原因
        /// </summary>
        public string ClosingReason { get; set; }
        /// <summary>
        /// 终本裁定是否有财产-执行款除外（是/否）
        /// </summary>
        public int ClosingHasPro { get; set; }
        /// <summary>
        /// 终结执行时间
        /// </summary>
        public DateTime EndExecTime { get; set; }
        /// <summary>
        /// 终结执行类型（正常终结/非正常终结）
        /// </summary>
        public int EndExecType { get; set; }
        /// <summary>
        /// 终结执行原因
        /// </summary>
        public string EndExecReason { get; set; }
        /// <summary>
        /// 诉讼档案交接情况
        /// </summary>
        public string HandoverNote { get; set; }
        /// <summary>
        /// 案件诉讼标的
        /// </summary>
        public string ObjectOfAction { get; set; }
        /// <summary>
        /// 还款数据
        /// </summary>
        public string RepaymentData { get; set; }
        /// <summary>
        /// 管护人
        /// </summary>
        public long ChargeUserId1 { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public long ChargeUserId2 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 提醒类型(0未提醒，1：30天提醒)
        /// </summary>
        public int Noticed { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }

}
